package org.darkforest.dao.mapper;

import org.darkforest.dao.annotation.DBMapper;
import org.darkforest.model.OrderPay;

import java.util.List;

@DBMapper
public interface OrderPayMapper {
    int deleteByPrimaryKey(Integer payId);

    int insert(OrderPay record);

    int insertSelective(OrderPay record);

    OrderPay selectByPrimaryKey(Integer payId);


    int updateByPrimaryKeySelective(OrderPay record);

    int updateByPrimaryKey(OrderPay record);

    List<OrderPay> findOrderPayInfoByCondition(OrderPay orderPay);

    OrderPay selectByOrderSn(Long orderSn);
}